package com.data.modules.online.cgform.model;

public class TreeModel {

    private String f178id;
    private String label;
    private String pid;
    private String store;


    public boolean canEqual(Object other) {
        return other instanceof TreeModel;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof TreeModel)) {
            return false;
        }
        TreeModel treeModel = (TreeModel) o;
        if (!treeModel.canEqual(this)) {
            return false;
        }
        String label2 = getLabel();
        String label3 = treeModel.getLabel();
        if (label2 != null ? !label2.equals(label3) : label3 != null) {
            return false;
        }
        String store2 = getStore();
        String store3 = treeModel.getStore();
        if (store2 != null ? !store2.equals(store3) : store3 != null) {
            return false;
        }
        String id = getId();
        String id2 = treeModel.getId();
        if (id != null ? !id.equals(id2) : id2 != null) {
            return false;
        }
        String pid2 = getPid();
        String pid3 = treeModel.getPid();
        if (pid2 == null) {
            if (pid3 == null) {
                return true;
            }
        } else if (pid2.equals(pid3)) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        int i = 43;
        String label2 = getLabel();
        int hashCode = label2 == null ? 43 : label2.hashCode();
        String store2 = getStore();
        int i2 = (hashCode + 59) * 59;
        int hashCode2 = store2 == null ? 43 : store2.hashCode();
        String id = getId();
        int i3 = (hashCode2 + i2) * 59;
        int hashCode3 = id == null ? 43 : id.hashCode();
        String pid2 = getPid();
        int i4 = (hashCode3 + i3) * 59;
        if (pid2 != null) {
            i = pid2.hashCode();
        }
        return i4 + i;
    }

    public void setId(String id) {
        this.f178id = id;
    }

    public void setLabel(String label2) {
        this.label = label2;
    }

    public void setPid(String pid2) {
        this.pid = pid2;
    }

    public void setStore(String store2) {
        this.store = store2;
    }

    public String toString() {
        return "TreeModel(label=" + getLabel() + ", store=" + getStore() + ", id=" + getId() + ", pid=" + getPid() + ")";
    }

    public String getLabel() {
        return this.label;
    }

    public String getStore() {
        return this.store;
    }

    public String getId() {
        return this.f178id;
    }

    public String getPid() {
        return this.pid;
    }
}
